<?php

/*
*###########################################################################################################################*
#															    															#
#															    															#
#    **  ** ****** ** **  **  ****** ** ***   ** ***   ****** ** **  **  ** **  ** ** **  **    ****   ** **  **  ******    #
#    **  ** ****** ********** ****** *******  *******  ****** ********** ** **  ** **********  ******  ********** ******    #
#    **  ** **  ** **  **  ** **     ***   ** **    ** **     **  **  **    **  ** **  **  ** ***   ** **  **  ** **        #
#    ****** **  ** **  **  ** ****** **   *** **   *** ****** **  **  ** ** **  ** **  **  ** **       **  **  ** ******    #
#    ****** **  ** **  **  ** ****** *******  *******  ****** **  **  ** ** **  ** **  **  ** **       **  **  ** ******    #
#    **  ** **  ** **  **  ** **     *****    ******   **     **  **  ** ** **  ** **  **  ** ***   ** **  **  **     **    #
#    **  ** ****** **  **  ** ****** **       **  ***  ****** **  **  ** ** ****** **  **  **  ******  **  **  ** ******    #
#    **  ** ****** **  **  ** ****** **       **   *** ****** **  **  ** **  ** ** **  **  **   ****   **  **  ** ******    #
#															    															#
#															    															#
#															    															#
#    2010 - 2011 © HomePremiumCMS made by HomePemium as PremiumEye & Security by HomePremium and Merijnz		    		#
#															    															#
#    Powered by PhoenixPHP 3.7.1 (build 138000)										    									#
#															    															#
#															    															#
#															    															#
*###########################################################################################################################*
*/

?>

<div id="tool_container" style="display: none; left: 10px; top: 

<?php $username = $_SESSION['username']; if($core->EscapeString($users->UserInfo($username, 'header_info')) == "0"){ ?>62px<?php }else{ ?>10px<?php } $username = $core->EscapeString($_GET['u']); ?>; 

position:fixed;">

<div id="tool_bg">
<div style="margin-top: 2px;" id="tool_top" onMouseDown="dragStart(event, 'tool_container')">
<div id="tool_top_tekst"><a href="#" style="cursor: move;"><?php echo $lang['profile_guestbook']; ?></a></div>
<a href="#" onClick="sluitDiv('tool_container')"><div id="tool_kruisje"></div></a>
</div>

<div id="tool_middle">
<div id="tool_middle_tekst">

<form method="post" action="home_actions/action_profiel_gastenboek_bericht.php">

<?php if(isset($_GET['u']))
{
$username = $core->EscapeString($_GET['u']);
}
?>
<?php echo $lang['add_guestbook_message']; ?> <b><?php echo $core->EscapeString($users->UserInfo($username, 'username')); ?></b>.<br /><br />

	<input type="hidden" name="for_user" value="<?php echo $core->EscapeString($users->UserInfo($username, 'username')); ?>" />

<?php if(isset($_GET['u']))
{
$username = $core->EscapeString($_SESSION['username']);
}
?>
	<input type="hidden" name="poster" value="<?php echo $core->EscapeString($users->UserInfo($username, 'username')); ?>" />
    
    <input type="hidden" name="poster_look" value="<?php echo $core->EscapeString($users->UserInfo($username, 'look')); ?>" />
    
    <textarea name="bericht" maxlength="300" style="width: 200px; height: 130px;"></textarea>

	<input type="submit" value="<?php echo $lang['submit']; ?>" />
    
    </form>

</div>
			</div>
			
			<div id="tool_bottom"></div>
		</div></div>